#include "common_controller.h"
#include <stdio.h>
#include <string.h>
#include "common_service.h"

void
init_index_page(struct http_request *request, struct http_respond *respond)
{
   char data[4096];
   service_init_index_page(data, sizeof(data));

   respond_write(respond, data, strlen(data));
}

void
init_join_page(struct http_request *request, struct http_respond *respond)
{
   char data[4096];
   service_init_join_page(data, sizeof(data));

   respond_write(respond, data, strlen(data));
}
